package com.oa.modules.approvalsec1.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.oa.modules.approvalsec1.dao.UserBankDao;
import com.oa.modules.approvalsec1.entity.UserBankEntity;
import com.oa.modules.approvalsec1.service.UserBankService;


@Service("userBankService")
public class UserBankServiceImpl extends ServiceImpl<UserBankDao, UserBankEntity> implements UserBankService {

    @Override
    public List<UserBankEntity> getByBankName(String bankName) {
        return baseMapper.getByBankName(bankName);
    }


    @Override
    public List<UserBankEntity> getByLikeBankName(String bankName) {
        return baseMapper.getByLikeBankName(bankName);
    }
}
